import request from '@/utils/request'

// 查询企业签约列表
export function listProjectSign(query) {
  return request({
    url: '/sign/projectSign/list',
    method: 'get',
    params: query
  })
}

// 查询企业签约详细
export function getProjectSign(id) {
  return request({
    url: '/sign/projectSign/' + id,
    method: 'get'
  })
}

// 新增企业签约
export function addProjectSign(data) {
  return request({
    url: '/sign/projectSign',
    method: 'post',
    data: data
  })
}

// 修改企业签约
export function updateProjectSign(data) {
  return request({
    url: '/sign/projectSign',
    method: 'put',
    data: data
  })
}

// 删除企业签约
export function delProjectSign(id) {
  return request({
    url: '/sign/projectSign/' + id,
    method: 'delete'
  })
}

// 导出企业签约
export function exportProjectSign(query) {
  return request({
    url: '/sign/projectSign/export',
    method: 'get',
    params: query
  })
}
